import {defineStore} from 'pinia';

export const useColumnDefinedPageStore = defineStore('columnDefine', {

    state: () => ({
        header: [], column: [], data: [

            {
                name: "校区",
                type: 'select',
                dicData: []
            }
        ]
    }),

    getters: {},

    actions: {
        setData(data) {
            this.data = data;
        },
        setHeader(data) {
            this.header = data;
        },
        setColumn(data) {
            this.column = data;

        },

    }

});

